package com.zhongwang.business.gen.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class BusCostTemplateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BusCostTemplateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTextureIsNull() {
            addCriterion("texture is null");
            return (Criteria) this;
        }

        public Criteria andTextureIsNotNull() {
            addCriterion("texture is not null");
            return (Criteria) this;
        }

        public Criteria andTextureEqualTo(String value) {
            addCriterion("texture =", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureNotEqualTo(String value) {
            addCriterion("texture <>", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureGreaterThan(String value) {
            addCriterion("texture >", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureGreaterThanOrEqualTo(String value) {
            addCriterion("texture >=", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureLessThan(String value) {
            addCriterion("texture <", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureLessThanOrEqualTo(String value) {
            addCriterion("texture <=", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureLike(String value) {
            addCriterion("texture like", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureNotLike(String value) {
            addCriterion("texture not like", value, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureIn(List<String> values) {
            addCriterion("texture in", values, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureNotIn(List<String> values) {
            addCriterion("texture not in", values, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureBetween(String value1, String value2) {
            addCriterion("texture between", value1, value2, "texture");
            return (Criteria) this;
        }

        public Criteria andTextureNotBetween(String value1, String value2) {
            addCriterion("texture not between", value1, value2, "texture");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoIsNull() {
            addCriterion("show_order_no is null");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoIsNotNull() {
            addCriterion("show_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoEqualTo(String value) {
            addCriterion("show_order_no =", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoNotEqualTo(String value) {
            addCriterion("show_order_no <>", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoGreaterThan(String value) {
            addCriterion("show_order_no >", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("show_order_no >=", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoLessThan(String value) {
            addCriterion("show_order_no <", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoLessThanOrEqualTo(String value) {
            addCriterion("show_order_no <=", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoLike(String value) {
            addCriterion("show_order_no like", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoNotLike(String value) {
            addCriterion("show_order_no not like", value, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoIn(List<String> values) {
            addCriterion("show_order_no in", values, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoNotIn(List<String> values) {
            addCriterion("show_order_no not in", values, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoBetween(String value1, String value2) {
            addCriterion("show_order_no between", value1, value2, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andShowOrderNoNotBetween(String value1, String value2) {
            addCriterion("show_order_no not between", value1, value2, "showOrderNo");
            return (Criteria) this;
        }

        public Criteria andRankIsNull() {
            addCriterion("rank is null");
            return (Criteria) this;
        }

        public Criteria andRankIsNotNull() {
            addCriterion("rank is not null");
            return (Criteria) this;
        }

        public Criteria andRankEqualTo(Integer value) {
            addCriterion("rank =", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotEqualTo(Integer value) {
            addCriterion("rank <>", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThan(Integer value) {
            addCriterion("rank >", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThanOrEqualTo(Integer value) {
            addCriterion("rank >=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThan(Integer value) {
            addCriterion("rank <", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThanOrEqualTo(Integer value) {
            addCriterion("rank <=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankIn(List<Integer> values) {
            addCriterion("rank in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotIn(List<Integer> values) {
            addCriterion("rank not in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankBetween(Integer value1, Integer value2) {
            addCriterion("rank between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotBetween(Integer value1, Integer value2) {
            addCriterion("rank not between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(Integer value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(Integer value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(Integer value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(Integer value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(Integer value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<Integer> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<Integer> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(Integer value1, Integer value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(Integer value1, Integer value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andNumIsNull() {
            addCriterion("num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(BigDecimal value) {
            addCriterion("num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(BigDecimal value) {
            addCriterion("num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(BigDecimal value) {
            addCriterion("num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(BigDecimal value) {
            addCriterion("num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<BigDecimal> values) {
            addCriterion("num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<BigDecimal> values) {
            addCriterion("num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("num not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("total_price is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("total_price is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(BigDecimal value) {
            addCriterion("total_price =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(BigDecimal value) {
            addCriterion("total_price <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(BigDecimal value) {
            addCriterion("total_price >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(BigDecimal value) {
            addCriterion("total_price <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<BigDecimal> values) {
            addCriterion("total_price in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<BigDecimal> values) {
            addCriterion("total_price not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andMajorIsNull() {
            addCriterion("major is null");
            return (Criteria) this;
        }

        public Criteria andMajorIsNotNull() {
            addCriterion("major is not null");
            return (Criteria) this;
        }

        public Criteria andMajorEqualTo(String value) {
            addCriterion("major =", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotEqualTo(String value) {
            addCriterion("major <>", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorGreaterThan(String value) {
            addCriterion("major >", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorGreaterThanOrEqualTo(String value) {
            addCriterion("major >=", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorLessThan(String value) {
            addCriterion("major <", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorLessThanOrEqualTo(String value) {
            addCriterion("major <=", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorLike(String value) {
            addCriterion("major like", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotLike(String value) {
            addCriterion("major not like", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorIn(List<String> values) {
            addCriterion("major in", values, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotIn(List<String> values) {
            addCriterion("major not in", values, "major");
            return (Criteria) this;
        }

        public Criteria andMajorBetween(String value1, String value2) {
            addCriterion("major between", value1, value2, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotBetween(String value1, String value2) {
            addCriterion("major not between", value1, value2, "major");
            return (Criteria) this;
        }

        public Criteria andPartIsNull() {
            addCriterion("part is null");
            return (Criteria) this;
        }

        public Criteria andPartIsNotNull() {
            addCriterion("part is not null");
            return (Criteria) this;
        }

        public Criteria andPartEqualTo(String value) {
            addCriterion("part =", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotEqualTo(String value) {
            addCriterion("part <>", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartGreaterThan(String value) {
            addCriterion("part >", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartGreaterThanOrEqualTo(String value) {
            addCriterion("part >=", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLessThan(String value) {
            addCriterion("part <", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLessThanOrEqualTo(String value) {
            addCriterion("part <=", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLike(String value) {
            addCriterion("part like", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotLike(String value) {
            addCriterion("part not like", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartIn(List<String> values) {
            addCriterion("part in", values, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotIn(List<String> values) {
            addCriterion("part not in", values, "part");
            return (Criteria) this;
        }

        public Criteria andPartBetween(String value1, String value2) {
            addCriterion("part between", value1, value2, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotBetween(String value1, String value2) {
            addCriterion("part not between", value1, value2, "part");
            return (Criteria) this;
        }

        public Criteria andParentCodeIsNull() {
            addCriterion("parent_code is null");
            return (Criteria) this;
        }

        public Criteria andParentCodeIsNotNull() {
            addCriterion("parent_code is not null");
            return (Criteria) this;
        }

        public Criteria andParentCodeEqualTo(String value) {
            addCriterion("parent_code =", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotEqualTo(String value) {
            addCriterion("parent_code <>", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeGreaterThan(String value) {
            addCriterion("parent_code >", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeGreaterThanOrEqualTo(String value) {
            addCriterion("parent_code >=", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLessThan(String value) {
            addCriterion("parent_code <", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLessThanOrEqualTo(String value) {
            addCriterion("parent_code <=", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLike(String value) {
            addCriterion("parent_code like", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotLike(String value) {
            addCriterion("parent_code not like", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeIn(List<String> values) {
            addCriterion("parent_code in", values, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotIn(List<String> values) {
            addCriterion("parent_code not in", values, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeBetween(String value1, String value2) {
            addCriterion("parent_code between", value1, value2, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotBetween(String value1, String value2) {
            addCriterion("parent_code not between", value1, value2, "parentCode");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andVerIdIsNull() {
            addCriterion("ver_id is null");
            return (Criteria) this;
        }

        public Criteria andVerIdIsNotNull() {
            addCriterion("ver_id is not null");
            return (Criteria) this;
        }

        public Criteria andVerIdEqualTo(Integer value) {
            addCriterion("ver_id =", value, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdNotEqualTo(Integer value) {
            addCriterion("ver_id <>", value, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdGreaterThan(Integer value) {
            addCriterion("ver_id >", value, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ver_id >=", value, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdLessThan(Integer value) {
            addCriterion("ver_id <", value, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdLessThanOrEqualTo(Integer value) {
            addCriterion("ver_id <=", value, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdIn(List<Integer> values) {
            addCriterion("ver_id in", values, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdNotIn(List<Integer> values) {
            addCriterion("ver_id not in", values, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdBetween(Integer value1, Integer value2) {
            addCriterion("ver_id between", value1, value2, "verId");
            return (Criteria) this;
        }

        public Criteria andVerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ver_id not between", value1, value2, "verId");
            return (Criteria) this;
        }

        public Criteria andItemTypeIsNull() {
            addCriterion("item_type is null");
            return (Criteria) this;
        }

        public Criteria andItemTypeIsNotNull() {
            addCriterion("item_type is not null");
            return (Criteria) this;
        }

        public Criteria andItemTypeEqualTo(Integer value) {
            addCriterion("item_type =", value, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeNotEqualTo(Integer value) {
            addCriterion("item_type <>", value, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeGreaterThan(Integer value) {
            addCriterion("item_type >", value, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("item_type >=", value, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeLessThan(Integer value) {
            addCriterion("item_type <", value, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeLessThanOrEqualTo(Integer value) {
            addCriterion("item_type <=", value, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeIn(List<Integer> values) {
            addCriterion("item_type in", values, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeNotIn(List<Integer> values) {
            addCriterion("item_type not in", values, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeBetween(Integer value1, Integer value2) {
            addCriterion("item_type between", value1, value2, "itemType");
            return (Criteria) this;
        }

        public Criteria andItemTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("item_type not between", value1, value2, "itemType");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagIsNull() {
            addCriterion("texture_edit_flag is null");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagIsNotNull() {
            addCriterion("texture_edit_flag is not null");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagEqualTo(Integer value) {
            addCriterion("texture_edit_flag =", value, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagNotEqualTo(Integer value) {
            addCriterion("texture_edit_flag <>", value, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagGreaterThan(Integer value) {
            addCriterion("texture_edit_flag >", value, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("texture_edit_flag >=", value, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagLessThan(Integer value) {
            addCriterion("texture_edit_flag <", value, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagLessThanOrEqualTo(Integer value) {
            addCriterion("texture_edit_flag <=", value, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagIn(List<Integer> values) {
            addCriterion("texture_edit_flag in", values, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagNotIn(List<Integer> values) {
            addCriterion("texture_edit_flag not in", values, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagBetween(Integer value1, Integer value2) {
            addCriterion("texture_edit_flag between", value1, value2, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andTextureEditFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("texture_edit_flag not between", value1, value2, "textureEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagIsNull() {
            addCriterion("remark_edit_flag is null");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagIsNotNull() {
            addCriterion("remark_edit_flag is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagEqualTo(Integer value) {
            addCriterion("remark_edit_flag =", value, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagNotEqualTo(Integer value) {
            addCriterion("remark_edit_flag <>", value, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagGreaterThan(Integer value) {
            addCriterion("remark_edit_flag >", value, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("remark_edit_flag >=", value, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagLessThan(Integer value) {
            addCriterion("remark_edit_flag <", value, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagLessThanOrEqualTo(Integer value) {
            addCriterion("remark_edit_flag <=", value, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagIn(List<Integer> values) {
            addCriterion("remark_edit_flag in", values, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagNotIn(List<Integer> values) {
            addCriterion("remark_edit_flag not in", values, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagBetween(Integer value1, Integer value2) {
            addCriterion("remark_edit_flag between", value1, value2, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkEditFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("remark_edit_flag not between", value1, value2, "remarkEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagIsNull() {
            addCriterion("price_edit_flag is null");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagIsNotNull() {
            addCriterion("price_edit_flag is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagEqualTo(Integer value) {
            addCriterion("price_edit_flag =", value, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagNotEqualTo(Integer value) {
            addCriterion("price_edit_flag <>", value, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagGreaterThan(Integer value) {
            addCriterion("price_edit_flag >", value, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("price_edit_flag >=", value, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagLessThan(Integer value) {
            addCriterion("price_edit_flag <", value, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagLessThanOrEqualTo(Integer value) {
            addCriterion("price_edit_flag <=", value, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagIn(List<Integer> values) {
            addCriterion("price_edit_flag in", values, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagNotIn(List<Integer> values) {
            addCriterion("price_edit_flag not in", values, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagBetween(Integer value1, Integer value2) {
            addCriterion("price_edit_flag between", value1, value2, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andPriceEditFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("price_edit_flag not between", value1, value2, "priceEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagIsNull() {
            addCriterion("num_edit_flag is null");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagIsNotNull() {
            addCriterion("num_edit_flag is not null");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagEqualTo(Integer value) {
            addCriterion("num_edit_flag =", value, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagNotEqualTo(Integer value) {
            addCriterion("num_edit_flag <>", value, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagGreaterThan(Integer value) {
            addCriterion("num_edit_flag >", value, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("num_edit_flag >=", value, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagLessThan(Integer value) {
            addCriterion("num_edit_flag <", value, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagLessThanOrEqualTo(Integer value) {
            addCriterion("num_edit_flag <=", value, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagIn(List<Integer> values) {
            addCriterion("num_edit_flag in", values, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagNotIn(List<Integer> values) {
            addCriterion("num_edit_flag not in", values, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagBetween(Integer value1, Integer value2) {
            addCriterion("num_edit_flag between", value1, value2, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andNumEditFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("num_edit_flag not between", value1, value2, "numEditFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagIsNull() {
            addCriterion("total_price_flag is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagIsNotNull() {
            addCriterion("total_price_flag is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagEqualTo(Integer value) {
            addCriterion("total_price_flag =", value, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagNotEqualTo(Integer value) {
            addCriterion("total_price_flag <>", value, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagGreaterThan(Integer value) {
            addCriterion("total_price_flag >", value, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_price_flag >=", value, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagLessThan(Integer value) {
            addCriterion("total_price_flag <", value, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagLessThanOrEqualTo(Integer value) {
            addCriterion("total_price_flag <=", value, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagIn(List<Integer> values) {
            addCriterion("total_price_flag in", values, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagNotIn(List<Integer> values) {
            addCriterion("total_price_flag not in", values, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagBetween(Integer value1, Integer value2) {
            addCriterion("total_price_flag between", value1, value2, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andTotalPriceFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("total_price_flag not between", value1, value2, "totalPriceFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagIsNull() {
            addCriterion("view_info_flag is null");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagIsNotNull() {
            addCriterion("view_info_flag is not null");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagEqualTo(Integer value) {
            addCriterion("view_info_flag =", value, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagNotEqualTo(Integer value) {
            addCriterion("view_info_flag <>", value, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagGreaterThan(Integer value) {
            addCriterion("view_info_flag >", value, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("view_info_flag >=", value, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagLessThan(Integer value) {
            addCriterion("view_info_flag <", value, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagLessThanOrEqualTo(Integer value) {
            addCriterion("view_info_flag <=", value, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagIn(List<Integer> values) {
            addCriterion("view_info_flag in", values, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagNotIn(List<Integer> values) {
            addCriterion("view_info_flag not in", values, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagBetween(Integer value1, Integer value2) {
            addCriterion("view_info_flag between", value1, value2, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andViewInfoFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("view_info_flag not between", value1, value2, "viewInfoFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagIsNull() {
            addCriterion("display_flag is null");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagIsNotNull() {
            addCriterion("display_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagEqualTo(Integer value) {
            addCriterion("display_flag =", value, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagNotEqualTo(Integer value) {
            addCriterion("display_flag <>", value, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagGreaterThan(Integer value) {
            addCriterion("display_flag >", value, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("display_flag >=", value, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagLessThan(Integer value) {
            addCriterion("display_flag <", value, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagLessThanOrEqualTo(Integer value) {
            addCriterion("display_flag <=", value, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagIn(List<Integer> values) {
            addCriterion("display_flag in", values, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagNotIn(List<Integer> values) {
            addCriterion("display_flag not in", values, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagBetween(Integer value1, Integer value2) {
            addCriterion("display_flag between", value1, value2, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andDisplayFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("display_flag not between", value1, value2, "displayFlag");
            return (Criteria) this;
        }

        public Criteria andIsMajorIsNull() {
            addCriterion("is_major is null");
            return (Criteria) this;
        }

        public Criteria andIsMajorIsNotNull() {
            addCriterion("is_major is not null");
            return (Criteria) this;
        }

        public Criteria andIsMajorEqualTo(Integer value) {
            addCriterion("is_major =", value, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorNotEqualTo(Integer value) {
            addCriterion("is_major <>", value, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorGreaterThan(Integer value) {
            addCriterion("is_major >", value, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_major >=", value, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorLessThan(Integer value) {
            addCriterion("is_major <", value, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorLessThanOrEqualTo(Integer value) {
            addCriterion("is_major <=", value, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorIn(List<Integer> values) {
            addCriterion("is_major in", values, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorNotIn(List<Integer> values) {
            addCriterion("is_major not in", values, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorBetween(Integer value1, Integer value2) {
            addCriterion("is_major between", value1, value2, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsMajorNotBetween(Integer value1, Integer value2) {
            addCriterion("is_major not between", value1, value2, "isMajor");
            return (Criteria) this;
        }

        public Criteria andIsPartIsNull() {
            addCriterion("is_part is null");
            return (Criteria) this;
        }

        public Criteria andIsPartIsNotNull() {
            addCriterion("is_part is not null");
            return (Criteria) this;
        }

        public Criteria andIsPartEqualTo(Integer value) {
            addCriterion("is_part =", value, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartNotEqualTo(Integer value) {
            addCriterion("is_part <>", value, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartGreaterThan(Integer value) {
            addCriterion("is_part >", value, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_part >=", value, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartLessThan(Integer value) {
            addCriterion("is_part <", value, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartLessThanOrEqualTo(Integer value) {
            addCriterion("is_part <=", value, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartIn(List<Integer> values) {
            addCriterion("is_part in", values, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartNotIn(List<Integer> values) {
            addCriterion("is_part not in", values, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartBetween(Integer value1, Integer value2) {
            addCriterion("is_part between", value1, value2, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsPartNotBetween(Integer value1, Integer value2) {
            addCriterion("is_part not between", value1, value2, "isPart");
            return (Criteria) this;
        }

        public Criteria andIsInvalidIsNull() {
            addCriterion("is_invalid is null");
            return (Criteria) this;
        }

        public Criteria andIsInvalidIsNotNull() {
            addCriterion("is_invalid is not null");
            return (Criteria) this;
        }

        public Criteria andIsInvalidEqualTo(Integer value) {
            addCriterion("is_invalid =", value, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidNotEqualTo(Integer value) {
            addCriterion("is_invalid <>", value, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidGreaterThan(Integer value) {
            addCriterion("is_invalid >", value, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_invalid >=", value, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidLessThan(Integer value) {
            addCriterion("is_invalid <", value, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidLessThanOrEqualTo(Integer value) {
            addCriterion("is_invalid <=", value, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidIn(List<Integer> values) {
            addCriterion("is_invalid in", values, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidNotIn(List<Integer> values) {
            addCriterion("is_invalid not in", values, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidBetween(Integer value1, Integer value2) {
            addCriterion("is_invalid between", value1, value2, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andIsInvalidNotBetween(Integer value1, Integer value2) {
            addCriterion("is_invalid not between", value1, value2, "isInvalid");
            return (Criteria) this;
        }

        public Criteria andFinishStatusIsNull() {
            addCriterion("finish_status is null");
            return (Criteria) this;
        }

        public Criteria andFinishStatusIsNotNull() {
            addCriterion("finish_status is not null");
            return (Criteria) this;
        }

        public Criteria andFinishStatusEqualTo(Integer value) {
            addCriterion("finish_status =", value, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusNotEqualTo(Integer value) {
            addCriterion("finish_status <>", value, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusGreaterThan(Integer value) {
            addCriterion("finish_status >", value, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("finish_status >=", value, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusLessThan(Integer value) {
            addCriterion("finish_status <", value, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusLessThanOrEqualTo(Integer value) {
            addCriterion("finish_status <=", value, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusIn(List<Integer> values) {
            addCriterion("finish_status in", values, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusNotIn(List<Integer> values) {
            addCriterion("finish_status not in", values, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusBetween(Integer value1, Integer value2) {
            addCriterion("finish_status between", value1, value2, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andFinishStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("finish_status not between", value1, value2, "finishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusIsNull() {
            addCriterion("show_finish_status is null");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusIsNotNull() {
            addCriterion("show_finish_status is not null");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusEqualTo(Integer value) {
            addCriterion("show_finish_status =", value, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusNotEqualTo(Integer value) {
            addCriterion("show_finish_status <>", value, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusGreaterThan(Integer value) {
            addCriterion("show_finish_status >", value, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_finish_status >=", value, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusLessThan(Integer value) {
            addCriterion("show_finish_status <", value, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusLessThanOrEqualTo(Integer value) {
            addCriterion("show_finish_status <=", value, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusIn(List<Integer> values) {
            addCriterion("show_finish_status in", values, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusNotIn(List<Integer> values) {
            addCriterion("show_finish_status not in", values, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusBetween(Integer value1, Integer value2) {
            addCriterion("show_finish_status between", value1, value2, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andShowFinishStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("show_finish_status not between", value1, value2, "showFinishStatus");
            return (Criteria) this;
        }

        public Criteria andDataSourceIsNull() {
            addCriterion("data_source is null");
            return (Criteria) this;
        }

        public Criteria andDataSourceIsNotNull() {
            addCriterion("data_source is not null");
            return (Criteria) this;
        }

        public Criteria andDataSourceEqualTo(String value) {
            addCriterion("data_source =", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotEqualTo(String value) {
            addCriterion("data_source <>", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceGreaterThan(String value) {
            addCriterion("data_source >", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceGreaterThanOrEqualTo(String value) {
            addCriterion("data_source >=", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceLessThan(String value) {
            addCriterion("data_source <", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceLessThanOrEqualTo(String value) {
            addCriterion("data_source <=", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceLike(String value) {
            addCriterion("data_source like", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotLike(String value) {
            addCriterion("data_source not like", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceIn(List<String> values) {
            addCriterion("data_source in", values, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotIn(List<String> values) {
            addCriterion("data_source not in", values, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceBetween(String value1, String value2) {
            addCriterion("data_source between", value1, value2, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotBetween(String value1, String value2) {
            addCriterion("data_source not between", value1, value2, "dataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceIsNull() {
            addCriterion("show_data_source is null");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceIsNotNull() {
            addCriterion("show_data_source is not null");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceEqualTo(Integer value) {
            addCriterion("show_data_source =", value, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceNotEqualTo(Integer value) {
            addCriterion("show_data_source <>", value, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceGreaterThan(Integer value) {
            addCriterion("show_data_source >", value, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_data_source >=", value, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceLessThan(Integer value) {
            addCriterion("show_data_source <", value, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceLessThanOrEqualTo(Integer value) {
            addCriterion("show_data_source <=", value, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceIn(List<Integer> values) {
            addCriterion("show_data_source in", values, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceNotIn(List<Integer> values) {
            addCriterion("show_data_source not in", values, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceBetween(Integer value1, Integer value2) {
            addCriterion("show_data_source between", value1, value2, "showDataSource");
            return (Criteria) this;
        }

        public Criteria andShowDataSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("show_data_source not between", value1, value2, "showDataSource");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}